//
//  AppDelegate.h
//  yilutongxing
//
//  Created by  on 17/3/10.
//  Copyright © 2017年 YZE. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DGTTabBarController.h"

@class EKEventStore;

@interface AppDelegate : UIResponder <UIApplicationDelegate>
/***  是否允许横屏的标记 */
@property (nonatomic,assign)BOOL allowRotation;
@property (strong, nonatomic) UIWindow *window;
@property (nonatomic,strong) DGTTabBarController *tabBarController;

-(EKEventStore*)sharedEventStore;

- (void)initLoginController;
- (void)initTabBarController;
/**
 旋转成竖屏
 */
- (void)rotate2Portrait;
@end

